package cn.slipi.pan.web.service;

import cn.slipi.pan.web.entity.VersionEntity;
import cn.slipi.pan.web.mapper.VersionMapper;
import org.apache.ibatis.solon.annotation.Db;
import org.noear.solon.annotation.Component;

/**
 * license服务
 */
@Component
public class VersionService {

    @Db
    private VersionMapper versionMapper;

    public VersionEntity getLeast() {
        return versionMapper.queryLeast();
    }
}
